﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace YunBox2.Client.Foundation
{
	/// <summary>
	/// UOMPage.xaml 的交互逻辑
	/// </summary>
	[Export("UOMPage",typeof(UserControl))]
	public partial class UOMPage : UserControl
	{
		[ImportingConstructor]
		public UOMPage()
		{
			this.InitializeComponent();
			
			// 在此点之下插入创建对象所需的代码。
		}

		[Import]
		ViewModels.UOMViewModel ViewModel
		{
			set
			{
				DataContext = value;
			}
		}
	}
}